﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Basic;
using Ewell.Interface.Common.Model.GateWay.Dto.In;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class InpEncounterDubboServe : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.in.service.inter.external.InpEncounterDubboServe";
        //5-100038-01 查询妊娠分娩信息 
        public GateWayMethod queryBS40004 => new QueryBS40004(url);
    }

    public class QueryBS40004 : GateWayMethod
    {
        public QueryBS40004(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryBS40004";

        public override string paramClass => "cc.ewell.his.in.upon.hc.BS40004Req";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(BS40004Req);

        public override Type responseParamType => typeof(List<InBS40004Resp>);
        public override string desc => "[5-100038-01]根据条件查询妊娠分娩信息"; 
    }
}
